package com.ym.domain;

import lombok.Data;

@Data
public class Device {
    /**
     * 设备id
     */
    private Long id;
    /**
     * 设备类型
     */
    private Integer type;
    /**
     * 设备描述(类似于编号)
     */
    private String name;
    /**
     * 楼栋id
     */
    private Long buildId;
    /**
     * 楼栋名
     */
    private String buildName;
    /**
     * 楼层id
     */
    private Long floorId;

    public Device(Long id, String name) {
        this.id = id;
        this.name = name;
    }
}
